<?xml version="1.0" encoding="utf-8"?>
<CONSTANT_BUFFER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns ="urn:dsfx0">
  <NAME>cb_EVisuPBR</NAME>

  <UNIFORM>
    <NAME>UseGASColor</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>
      0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>IsAlphaTestEnabled</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>
      0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>IsPostOpaque</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>
      0
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>albedo</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.15 0.3 0.6
    </DEFAULT_VALUE>
    <SECONDARY_TYPE>color</SECONDARY_TYPE>
  </UNIFORM>
  <UNIFORM>
    <NAME>albedo_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>albedo_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>albedo_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>specularTint</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      1.0 1.0 1.0
    </DEFAULT_VALUE>
    <SECONDARY_TYPE>color</SECONDARY_TYPE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specularTint_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specularTint_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specularTint_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>roughness</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.5
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>roughness_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>roughness_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>roughness_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>anisotropy</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropy_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropy_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropy_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>anisotropyRotation</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropyRotation_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropyRotation_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>anisotropyRotation_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>metallic</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>metallic_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>metallic_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>metallic_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>specular</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      1.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specular_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specular_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>specular_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>transparency</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>transparency_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>transparency_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>transparency_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>sheen</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheen_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheen_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheen_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>sheenColor</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      1.0 1.0 1.0
    </DEFAULT_VALUE>
    <SECONDARY_TYPE>color</SECONDARY_TYPE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenColor_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenColor_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenColor_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>sheenRoughness</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.3
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenRoughness_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenRoughness_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>sheenRoughness_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>normal_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>normal_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>normal_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>clearcoat</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoat_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoat_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoat_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>clearcoatRoughness</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoatRoughness_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoatRoughness_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoatRoughness_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>clearcoatNormal_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoatNormal_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>clearcoatNormal_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>cutoutOpacity</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>cutoutOpacity_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>cutoutOpacity_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>cutoutOpacity_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>displacement</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.0 0.0 0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>displacement_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>displacement_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>displacement_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>emissionColor</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.0 0.0 0.0
    </DEFAULT_VALUE>
    <SECONDARY_TYPE>color</SECONDARY_TYPE>
  </UNIFORM>
  <UNIFORM>
    <NAME>emissionColor_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>emissionColor_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>emissionColor_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>emissionValue</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>emissionMode</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>emissionEnergyNormalization</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>flakeColor</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.0 0.0 0.0
    </DEFAULT_VALUE>
    <SECONDARY_TYPE>color</SECONDARY_TYPE>
  </UNIFORM>

  <UNIFORM>
    <NAME>flakeColor_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeColor_m</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>1.0 1.0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeColor_a</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>flakeCoverage</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeCoverage_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeCoverage_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeCoverage_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>flakeSize</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
    <UI_MIN_VALUE>0.0</UI_MIN_VALUE>
    <UI_MAX_VALUE>1000.0</UI_MAX_VALUE>
    <UI_STEP_VALUE>1.0</UI_STEP_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeSize_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeSize_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeSize_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>flakeRoughness</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeRoughness_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeRoughness_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>flakeRoughness_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>thinWalled</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>
      1
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>ior</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      1.4
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>attenuationColor</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.0 0.0 0.0
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>attenuationDistance</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>subsurfaceColor</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>
      0.0 0.0 0.0
    </DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>translucency</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>
      0.0
    </DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>translucency_slot</NAME>
    <TYPE>int</TYPE>
    <DEFAULT_VALUE>0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>translucency_m</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
  </UNIFORM>
  <UNIFORM>
    <NAME>translucency_a</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
  </UNIFORM>
</CONSTANT_BUFFER>
